package com.house365.im.client.dto;

import java.io.Serializable;

/**
 * @author py
 * @date 2012-9-18
 * @comment
 */
public class MessageData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 810741337450506672L;

	private String namespace;
	public String from;


	public String to;

	public String subject;
	
	public String body;
	
	public long time;

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}


	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}
	
	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public MessageData(String namespace, String from, String to,
			String subject, String body) {
		super();
		this.namespace = namespace;
		this.from = from;
		this.to = to;
		this.subject = subject;
		this.body = body;
	}

	
	
}
